import request from '../common/request/request.js'

export const getProductList = async ({city, mode}, loading = true) => {
	return await request.fetch("/magic/product/tabs", {city}, loading)
}

export const getProductInfo = async ({city}, {id}, loading = true) => {
	return await request.get(`/customer/product/${id}`, {city}, loading)
}
